﻿namespace PMS.Data.Entities.Medias
{
    /// <summary>
    /// Represents a MimeType for MediaEntity
    /// </summary>
    public partial class MimeTypes : BaseEntity
    {
        /// <summary>
        /// Gets or sets the extension name of media file
        /// </summary>
        public string ExtensionName { get; set; }

        /// <summary>
        /// Gets or sets the MIME of media file
        /// </summary>
        public string MimeType { get; set; }

        /// <summary>
        /// Gets or sets the Category of the media file
        /// 按媒体文件类型进行归类，可用于本地存文件存储时分配到不同文件夹进行分类管理
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// Gets or sets the extension name for the media file
        /// 文件上传后默认保存的扩展名，如jpeg, jpg pjpeg 统一保存为jpg
        /// </summary>
        public string OutputExtensionName { get; set; }

        /// <summary>
        /// Gets or sets the Description of the mime type
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the mime type is current enabled
        /// </summary>
        //public bool IsActive { get; set; }

        //Set CreatedOnTimeUtc UpdatedOnTimeUtc NotMapped
        //public DateTime CreatedOnTimeUtc { get; set; }
        //public DateTime UpdatedOnTimeUtc { get; set; }
    }
}
